<!-- 广告-ID -->
<template>
    <div class="row-wrap">
        <div class="left-wrap">
            <el-input v-model="widget.widgetData.eles.customFeature.advertisingId" placeholder="Please input" />
        </div>
        <div class="right-wrap">
            <el-link type="primary" href="https://wximg.qq.com/wxp/pdftool/get.html?id=BJSyDkLqz&amp;pa=14" target="_blank">查看教程</el-link>
        </div>
    </div>
    <div class="tip-txt">注：仅支持微信小程序</div>
</template>

<script>
import { defineComponent, toRefs } from 'vue'
export default defineComponent({
    name: 'AdvertisingId',
    props: {
        widget: {
            type: Object,
            default: () => ({})
        }
    },
    setup(props) {
        const { widget } = toRefs(props)

        return {
            widget
        }
    }
})
</script>

<style lang="less" scoped>
.row-wrap {
    display: flex;
    align-items: center;
    .left-wrap {
        margin-right: 10px;
    }
    .right-wrap {
        // 
    }
}
.tip-txt {
    font-size: 12px;
    margin-top: 10px;
    color: var(--edit-text-color-placeholder);
}
</style>